package com.cordershy.mapper;
import com.cordershy.pojo.income;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface incomeMapper {
    List<income> selectAll();
    List<income> selectByDate(@Param("incomeyear") String incomeyear,@Param("incomemonth") String incomemonth,@Param("username") String username);
    income selectById(int incomeid);
    int delete(int incomeid);
    int insert(income income);
    int update(income income);
}
